import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;


public class ResetGame extends JFrame{

	JButton btReset;
	Display view;
	public ResetGame(Display view)
	{
		this.view=view;
		btReset=new JButton();
		btReset.setText("Chơi Lại!!!");
		btReset.setBounds(Main.width/2,Main.height/2,50,70);
		btReset.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				
				System.out.print("new game");
			}
		});
		this.add(btReset);
	}
	@Override
	public void paintComponents(Graphics g) {
		// TODO Auto-generated method stub
		super.paintComponents(g);
	}
	
	
}
